<?php


namespace app\admin\controller;


class ChangeLog extends Center
{
    public function index()
    {
        $data = model('Recording')->where('type', 3)->order('id desc')
            ->paginate(10, false, ['query' => request()->param()]);
        foreach ($data as $k =>$v)
        {
            $data[$k]['us_tel'] = model('user')->where('id',$v['edit_user_id'])->value('us_tel');
            $data[$k]['us_nickname'] = model('user')->where('id',$v['edit_user_id'])->value('us_nickname');
        }
        $this->assign('list', $data);
        return $this->fetch();
    }



}